
<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="jdk.nashorn.internal.runtime.Undefined" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" isELIgnored="false" %>

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="css/bootstrap.min.css">

    <title>更新信息</title>


</head>
<body>
<div>
    <form method="post" action="upt">
            <input type="hidden"  class="form-control" name="idq" id="idq" value="${user.id}">

        <div class="form-group">
            <label for="userName">姓名</label>
            <input type="text" class="form-control" name="userName" id="userName" value="${user.userName}">
        </div>
        <div class="form-group">
            <label for="sex">性别</label>
            <input type="text" class="form-control" name="sex" id="sex" value="${user.sex}">
        </div>
        <div class="form-group">
            <label for="age">年龄</label>
            <input type="text" class="form-control" name="age" id="age" value="${user.age}">
        </div>
        <div class="form-group">
            <label for="addr">籍贯</label>
            <input type="text" class="form-control" name="addr" id="addr" value="${user.addr}">
        </div>
        <div class="form-group">
            <label for="qq">QQ</label>
            <input type="text" class="form-control" name="qq" id="qq" value="${user.qq}">
        </div>
        <div class="form-group">
            <label for="email">邮箱</label>
            <input type="text" class="form-control" name="email" id="email" value="${user.email}">
        </div>

        <button type="button" onclick="back()" class="btn btn-default">返回</button>
        <button type="submit" class="btn btn-default">修改</button>

    </form>

</div>

</body>
<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
<script src="js/bootstrap.min.js">
</script>
<script>
    function back() {
        location.href="${pageContext.request.contextPath}/userList";
    }
</script>
</html>
